package com.cloud.config.feign;

import com.cloud.entity.SysLog;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;

@FeignClient(value = "${cloud.joyoung.log.feign-name:cloud-log-record-consumer}", contextId = "ConsumerCommonFeign")
public interface ConsumerCommonFeign {
    @PostMapping(value = "batchInsertLog")
    void batchInsertLog(@RequestBody List<SysLog> sysLog);
}
